﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aliphant.Interface.Form
{
    public struct ChatContent
    {
        public string Role;
        public string Message;
        public ConsoleColor Color;
        public BubbleColor Rgb;

        public ChatContent(string role, string message)
        {
            Role = role;
            Message = message;
            Color = ConsoleColor.White;
        }

        public ChatContent(string role, string message, ConsoleColor color)
        {
            Role = role;
            Message = message;
            Color = color;
        }

        public ChatContent(string role, string message, BubbleColor color)
        {
            Role = role;
            Message = message;
            Rgb = color;
        }

        public ChatContent(string role, ConsoleColor color)
        {
            Role = role;
            Message = "";
            Color = color;
        }

        public ChatContent(string message)
        {
            Role = "";
            Message = message;
            Color = ConsoleColor.White;
        }

        public static ChatContent Return => new("\n");
        public static ChatContent END => new("END", "");
        public static ChatContent NEW => new("NEW", "");

    }
}
